package org.springframework.web.tag.templates;

import org.springframework.web.util.CommonUtil;

/**
 * @author float.lu
 */
public class ModulePlaceholderTemplate {

    public static String makePlaceHolder(String mapping){
        if (mapping == null || mapping.trim().length() <= 0) {
            return "";
        }
        String id = CommonUtil.makeIdByMapping(mapping);
        return ModuleDomTemplate.gen(id);
    }

}
